Avoid copy when the plugin returns#13
Conversation
|
Some notes: Once in a lifetime !Functions now return Technically the data returned by a function should no longer be accessible from inside the plugin after the return (if the plugin respect the spirit of the protocol), so maybe we could get away with the lifetime if absolutely needed (using a Why not return
|
1455dcb to
6fd9c88
Compare
|
This looks great, thanks a ton, it doesn't seem to be missing anything either, are you okay with me merging it? <3 |
|
Oh wait, rereading this I see I slightly messed up the documentation |
6fd9c88 to
dfaf3c5
Compare
|
Ok, looks good to me ! |
…copy Avoid copy when the plugin returns
This should avoid copying the data until another function is called.